package oop;

public class Unit27 {
	public static void main(String[] args){
		Room r = new Room();
		r.number = 10;
		System.out.println("R1 number: " + r.number);
		System.out.println("R1 Area: " + r.area);
		r.area = 300;
		System.out.println("R1 Area new: " + r.area);
		
		Room r1 = new Room();
		r1.number = 20;
		Room.area = 400;
		System.out.println("R2 number: " + r1.number);
		System.out.println("R2 Area: " + r.area);
		
		Room r2 = new Room();
		r2.number = 30;
		System.out.println("R3 number: " + r2.number);
		System.out.println("R3 Area: " + r.area);
		
		Room.show();
	}
}

class Room{
	int number;
	static int area = 200;
	
	public static void show(){
		System.out.println("show");
	}
}